﻿<%@ Page Language="C#" AutoEventWireup="true" Title="医生处方药品用量" MasterPageFile="~/Master/MasterPage_New.master" CodeBehind="PrescriptionDoctor.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.ReportHospitalPurchase.PrescriptionDoctor" %>
<%@ Register Src="~/Common/QueryControl.ascx" TagName="QueryControl" TagPrefix="uc1" %>
<%@ Register Src="~/Common/ChartControl.ascx" TagName="ChartControl" TagPrefix="uc2" %>
<%@ Register src="../../Common/SortControls.ascx" tagname="SortControls" tagprefix="uc3" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
 <div id="tabnav">
        <ul>
            <li class="active">
                <a href="javascript:void(0)" >医生处方药品用量</a>
            </li> 
        </ul>
    </div> 
       <div id="tabcontent">
       <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                     <tr>
                            <td align="right">
                                流水号：
                            </td>
                            <td align="left">
                                <asp:Label ID="lblGoodsId" runat="server" Text="Label"></asp:Label>
                            </td>
                            <td align="right">
                                通用名：
                            </td>
                            <td align="left">
                                <asp:Label ID="lblProductName" runat="server" Text="Label"></asp:Label>
                            </td>
                            <td align="right" >
                                &nbsp;生产企业：
                            </td>
                            <td align="left">
                                <asp:Label ID="lblCompanyName" runat="server" Text="Label"></asp:Label>
                            </td>  

                            <td align="right" >
                                剂型：
                            </td>
                            <td align="left" colspan="3" >
                                <asp:Label ID="lblMedicineModel" runat="server" Text="Label"></asp:Label>
                            </td>                                                      
                        </tr>
                        <tr >
                            <td align="right">
                                规格：
                            </td>
                            <td align="left">
                                <asp:Label ID="lblOutLook" runat="server" Text="Label"></asp:Label>
                            </td>                        
                            <td align="right">
                                包装：
                            </td>
                            <td align="left">
                                <asp:Label ID="lblFactor" runat="server" Text="Label"></asp:Label>
                            </td>
                            <td align="right">
                                &nbsp;单位：
                            </td>
                            <td align="left">
                                <asp:Label ID="lblUnit" runat="server" Text="Label"></asp:Label>
                            </td>
                            <td align="right">
                                商品名：
                            </td>
                            <td align="left">
                                <asp:Label ID="lblGoodsName" runat="server" Text="Label"></asp:Label>
                            </td>
                        </tr>
                        <tr> <td align="right">
                                医院名称：
                            </td>
                            <td align="left">
                                <asp:Label ID="lblHospitalName" runat="server" Text="Label"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
      <div id="tabcontent">
       <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                     <tr>
                            <td align="right">
                                医生名称：</td>
                            <td align="left">
                                <asp:TextBox runat="server" ID="txtHospitalName"></asp:TextBox>
                            </td>
                            <td align="right">
                                &nbsp;</td>
                            <td align="left">
                                &nbsp;</td>
                        </tr>
                        </table>
                </td>
                <td width="100px">
                    <hz:HzButton ID="btnQuery" runat="server" Text="查询" OnClick="btnQuery_Click" CssClass="searchbtn"/>
                </td>
            </tr>
        </table>
    </div>
  <asp:GridView ID="gvwHospitalList" class="mainlist" runat="server" AutoGenerateColumns="False"  EmptyDataText="暂无符合要求的数据！" >
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
                <HeaderStyle Width="40px" />
            </asp:TemplateField>
            <asp:BoundField DataField="doctorName" HeaderText="医生名称" ReadOnly="true" />
            <asp:BoundField DataField="HospitalTotalCount" HeaderText="医生用量" ReadOnly="true" />
            <asp:BoundField DataField="HospitalTotalAmount" HeaderText="医生使用金额(元)" ReadOnly="true" />            
           <asp:TemplateField HeaderText="查看处方单信息">
           <ItemTemplate>
           <a href="PrescriopionDetail.aspx?ProcureCatalogID=<%=ProcureCatalogID%>&PHospitalID=<%=PHospitalID %>&PdoctorName=<%#Eval("doctorName") %>">查看处方单信息</a>
           </ItemTemplate>
           </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" 
            onpagechanged="AspNetPager1_PageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>提示:</li>
        </ul>
    </div>
       <div  class="listctrl"> <hz:HzButton ID="HzButton1" runat="server" Text="返回"  
            CssClass="btn" onclick="HzButton1_Click" /></div>
    </asp:Content>
